<template>
  <el-container>
    <el-header height="20px">
      <el-tag>(软)生物特征数据</el-tag>
    </el-header>
    <el-main>
      <el-table
        :data="tableData"
        style="width: 100%"
        height="250">
        <el-table-column
          fixed
          prop="diffEvent"
          label="事项"
        >
        </el-table-column>
        <el-table-column
          prop="diffRes"
          label="结果"
        >
        </el-table-column>
      </el-table>
    </el-main>
    <el-footer>
      <el-button type="primary" @click="jump" id="tag-position">点击查看详情</el-button>
    </el-footer>
  </el-container>
</template>

<script>
export default {
  name: 'BioAuthComponent',
  data() {
    return {
      tableData: [
        {
          diffEvent: '活体监测准确率',
          diffRes: '99%'
        },
        {
          diffEvent: '指纹认证次数',
          diffRes: '7500'
        },
        {
          diffEvent: '指纹认证成功次数',
          diffRes: '7000'
        },
        {
          diffEvent: '人脸认证次数',
          diffRes: '2500'
        },
        {
          diffEvent: '人脸认证成功次数',
          diffRes: '2000'
        }
      ]
    }
  },
  methods: {
    jump() {
      this.$router.push('/bio-auth-data')
    }
  }
}
</script>

<style scoped>
  #tag-position{
    margin-left: 70%;
  }
</style>
